package com.tuozixuan.camel;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class ConvertBodyToDemoRoute extends RouteBuilder {

	@Override
	public void configure() {
	    
//	    from("timer:firedOnceTimer?repeatCount=1").setBody().constant("ConvertBodyToDemo")
//	        .convertBodyTo(String.class).to("log:ConvertBodyToDemoLog");
	}

}
